package com.itheima.dao;

import com.itheima.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author heixiaolv.com
 * @date 2021/12/5 16:57
 */
public interface OrderSettingDao {

    public void add(OrderSetting orderSetting);

    public void editNumberByOrderDate(OrderSetting orderSetting);

    public long findCountByOrderDate(Date orderDate);

    List<OrderSetting> getOrderSettingByMonth(Map map);

    OrderSetting findOrderByOrderDate(Date orderDate);

    //更新已预约人数
    void editReservationsByOrderDate(OrderSetting orderSetting);
}
